t:test.cpp
	g++ $^ -o $@ -std=c++11 -L/usr/lib64/mysql/ -lmysqlclient -ljsoncpp -lpthread -lboost_system

.PHONY:clean
clean:
	rm -f t